import React, { useState, useEffect } from "react";
import { Select } from "@/views/components/PrefixPlaceholder";
// import { Select } from "antd";
const TakeGoodsSelect = ({ value, onChange, multiple, placeholder, defaultValue, warehouseList, origin }) => {
	return (
		<>
			<Select
				options={warehouseList}
				mode={multiple}
				labelInValue
				defaultValue={defaultValue}
				origin={origin}
				value={value}
				placeholder={placeholder}
				onChange={onChange}
				style={{ width: "100%" }}
			/>
		</>
	);
};

export default TakeGoodsSelect;
